import matplotlib.pyplot as plt
import numpy as np

# 1.列表
x = np.linspace(-10,10,50)
# 2.描点
y = x ** 2
# 3.连线

plt.plot(x,y)
plt.show()
